@testset "765.couples-holding-hands.jl" begin
    @test min_swaps_couples([3, 2, 0, 1]) == 0
    @test min_swaps_couples([0, 2, 1, 3]) == 1
    @test min_swaps_couples([24, 58, 43, 7, 17, 3, 6, 54, 27, 14, 18, 57, 53, 50, 12, 42,
                             49, 1, 2, 39, 47, 56, 38, 8, 45, 22, 36, 0, 30, 52, 23, 40, 16,
                             4, 35, 55, 10, 34, 11, 48, 28, 46, 32, 15, 29, 13, 9, 59, 44,
                             51, 5, 21, 33, 26, 25, 41, 19, 31, 37, 20]) == 28
end